package com.manshu.manshuweb.common;

import lombok.extern.slf4j.Slf4j;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

@Slf4j
@Component
public class MySchedule {
   // @Scheduled(cron ="*/1 * * * * ?")
    /*public void task1() throws InterruptedException {
        log.info("task1 start");
        Thread.sleep(10_000);
        log.info("task1 end");
    }*/
    //@Scheduled(cron ="*/1 * * * * ?")
  /*  public void task2(){
        log.info("task2 start");
        log.info("task2 end");
    }*/

}
